import { config } from './config';

const setErrCommonProperties = (errInfo) => {
  const { commonProperties } = config;
  return {
    ...commonProperties,
    errInfo,
  };
};

export default setErrCommonProperties;
